#include "editor/resource.h"

using namespace anip;

ui::ResourceTable editor::resourceStrings;

#define StringRes(name, val) \
    const bwstring editor::r::name = editor::resourceStrings.getBinded<wstring>(#name, val);

StringRes(menuProject, L"项目")
StringRes(menuNew, L"新建…")
StringRes(menuOpen, L"打开…")
StringRes(menuSave, L"保存")
StringRes(menuSaveAs, L"另存为…")
StringRes(menuSaveAsNewVersion, L"另存为新版本")
StringRes(menuImportExistingProject, L"导入现存项目…")
StringRes(menuCompare, L"比较…")
StringRes(menuPreferences, L"偏好设置…")
StringRes(menuExit, L"退出")

StringRes(msgProjectNotSaved, L"项目未保存。确认退出？")
StringRes(msgCancel, L"取消")
StringRes(msgProceed, L"继续")


StringRes(msgErrorInOpening, L"尝试加载项目时出现了错误，可能是由于文件格式不被支持：")